package com.rc.saas.tenant.service.member;

import com.rc.saas.tenant.base.BaseService;
import com.rc.saas.tenant.mapper.member.RcMemberGainGradeSettingMapper;
import com.rc.saas.tenant.model.member.RcMemberGainGradeSetting;
import com.rc.saas.tenant.model.member.RcMemberGainGradeSettingExample;
import com.rc.saas.tenant.model.tenant.TenantUser;

import java.util.List;

public interface RcMemberGainGradeSettingService extends BaseService<Long, RcMemberGainGradeSetting, RcMemberGainGradeSettingExample, RcMemberGainGradeSettingMapper> {
    List<RcMemberGainGradeSetting> listMemberGainGradeByGainSetting(Long gainSettingId);

    void batchInsert(List<RcMemberGainGradeSetting> list);

    void batchUpdate(List<RcMemberGainGradeSetting> list);

    void batchDelete(List<RcMemberGainGradeSetting> list);

    void saveSetting(RcMemberGainGradeSetting setting, TenantUser user);
}
